package com.gzyj.flink.gps.mapper.mysql;


import com.gzyj.flink.pojo.mysql.set.TsAlarmRule;

import java.util.List;

/**
* @author Administrator
* @description 针对表【ts_alarm_rule(报警规则制定表)】的数据库操作Mapper
* @createDate 2024-09-26 10:52:12
* @Entity com.gzyj.flink.pojo.mysql.set.TsAlarmRule
*/
public interface TsAlarmRuleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TsAlarmRule record);

    int insertSelective(TsAlarmRule record);

    TsAlarmRule selectByPrimaryKey(Long id);

    TsAlarmRule selectByRuleType(String shiyongxingzhi);

    TsAlarmRule selectByRuleTypePilao(String shiyongxingzhi);

    TsAlarmRule selectByRuleTypeYejian(String shiyongxingzhi);

    TsAlarmRule selectByRuleTypeWushuju(String shiyongxingzhi);

    TsAlarmRule selectByRuleTypeBuDingWei(String shiyongxingzhi);

    TsAlarmRule selectByRuleTypeAbnormal(String shiyongxingzhi);

    List<TsAlarmRule> selectByRuleTypeYanzhong(String shiyongxingzhi);

    int updateByPrimaryKeySelective(TsAlarmRule record);

    int updateByPrimaryKey(TsAlarmRule record);

}
